package Test;

/**
 * 蝙蝠
 *
 * @author Administrator
 *
 */
public class Bat implements Flight {
	private String name;

	public Bat(String name) {
		this.name = name;
	}

	public void fly() {
		System.out.println(name + "消耗能量去飞行");
		System.out.println(name + "不属于鸟类");
	}

}
